import {
	Http
} from '../common/http.js'

class Item extends Http {
	
	getSkuPaging(data, callback){
		let params = {
			url: '/item/sku/page',
			method: 'POST',
			data,
			success (res){
				callback && callback(res)
			}
		}
		this.request(params)
	}
	
	getSkuByCondition(data, callback){
		let params = {
			url: '/item/sku/condition',
			method: 'POST',
			data,
			success(res){
				callback && callback(res)
			}
		}
		this.request(params)
	}

}
export {
	Item
}
